package org.chen.feign.fallback;

import lombok.extern.slf4j.Slf4j;
import org.chen.common.dto.CategoryTreeDTO;
import org.chen.common.vo.ResultVO;
import org.chen.entity.CategoryInfo;
import org.chen.feign.CategoryClient;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
public class CategoryFeignFallback implements CategoryClient {

    @Override
    public ResultVO<List<CategoryTreeDTO>> getCategoryTree() {
        return null;
    }

    @Override
    public ResultVO<CategoryInfo> getCategoryById(Long id) {
        return null;
    }

    @Override
    public ResultVO<List<CategoryInfo>> getCategoriesByIds(List<Long> ids) {
        return null;
    }
}
